﻿using System;

namespace OS.Common.Extention
{
    /// <inheritdoc />
    /// <summary>
    /// 自定义描述属性类
    /// </summary>
    [AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
    public class DescriptAttribute : Attribute
    {
        /// <summary>
        ///   描述信息
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        public DescriptAttribute(string description)
        {
            this.Description = description;
        }
    }
}